import request from "@/utils/request";
// 获取全部
export const getSeeDoctor = (SeeDoctorRequestData) => {
  return request.request({
    url: `/admin/see/pages`,
    method: "POST",
    data:SeeDoctorRequestData,
  });
}

// 删除
export const deleteSeeDoctor = (id) => {
  return request.request({
    url: `/admin/see/delete/${id}`,
    method: "get",
  });
}

//更新
export const updateSeeDoctor = (SeeDoctorRequestData) => {
  return request.request({
    url: `/admin/see/update`,
    data:SeeDoctorRequestData,
    method: "post",
  });
}


//添加
export const addSeeDoctor = (SeeDoctorRequestData) => {
  return request.request({
    url: `/admin/see/add`,
    data:SeeDoctorRequestData,
    method: "post",
  });
}